package org.zephyr.struct.bridge.ex1;

/**
 *
 */
public abstract class Phone {
    /**
     * 组合品牌
     */
    private Brand brand;

    public Phone(Brand brand){
        super();
        this.brand=brand;
    }
    protected void open(){
        brand.open();
    }
    protected void close(){
        brand.close();
    }
    protected  void call(){
        brand.call();
    }
}
